package com.spsoft.core.service;

import com.spsoft.core.entity.VmsLog;
import com.baomidou.mybatisplus.extension.service.IService;
import org.aspectj.lang.ProceedingJoinPoint;
import org.springframework.scheduling.annotation.Async;

/**
 * <p>
 * vms数电发票日志表 服务类
 * </p>
 *
 * @author dlchen
 * @since 2023-11-07
 */
public interface VmsLogService extends IService<VmsLog> {

    /**
     * 保存日志数据
     *
     * @param username  用户
     * @param browser   浏览器
     * @param ip        请求IP
     * @param joinPoint /
     * @param log       日志实体
     */
    @Async
    void save(String username, String browser, String ip, ProceedingJoinPoint joinPoint, VmsLog log);

}
